<?php $cats = $this->getStoreCategories(); ?>
<?php foreach ($cats as $c): ?>
<ul>
    <li><a href="<?php echo $this->getCategoryUrl($c) ?>">
        <?php echo $this->htmlEscape($c->getName()) ?>
    </a></li>
</ul>
<?php endforeach; ?>